from app import app
from app.database import db

if __name__ == "__main__":
    # 初始化数据库
    with app.app_context():
        db.create_all()
    app.run(host="0.0.0.0", port=8000, debug=True)
